//
//  messageCell.m
//  jiaKaoZhuShou
//
//  Created by 金艺社 on 2018/5/31.
//  Copyright © 2018年 金艺社. All rights reserved.
//

#import "messageCell.h"

@implementation messageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor whiteColor];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(messageModel *)model {
    _model = model;
    self.title_lab.text = _model.title;
    self.time_lab.text = [[NSString ConvertStrToTime:_model.createDate] substringToIndex:10];
    self.content_lab.text = _model.content;
}
@end
